package billeterie;

import java.util.Set;

/**
 *
 * @author samir
 */
public class Gare {

    public int id_gare;
    public String nom_gare;
    public String ville_gare;
    public Set<Integer> id_Destinations;

    public Gare(int id_gare, String nom_gare, String ville_gare, Set<Integer> id_Destinations) {
        this.id_gare = id_gare;
        this.nom_gare = nom_gare;
        this.ville_gare = ville_gare;
        this.id_Destinations = id_Destinations;
    }

//    public Gare(String nom_gare, String ville_gare) {
//        this.nom_gare = nom_gare;
//        this.ville_gare = ville_gare;
//    }
    public Set<Integer> getId_Destinations() {
        return id_Destinations;
    }

    public void setId_Destinations(Set<Integer> id_Destinations) {
        this.id_Destinations = id_Destinations;
    }

    public int getId_gare() {
        return id_gare;
    }

    public void setId_gare(int id_gare) {
        this.id_gare = id_gare;
    }

    public String getNom_gare() {
        return nom_gare;
    }

    public void setNom_gare(String nom_gare) {
        this.nom_gare = nom_gare;
    }

    public String getVille_gare() {
        return ville_gare;
    }

    public void setVille_gare(String ville_gare) {
        this.ville_gare = ville_gare;
    }

    @Override
    public String toString() {
        return "Gare{" + "nom_gare=" + nom_gare + ", ville_gare=" + ville_gare + ", id_Destinations=" + id_Destinations + '}';
    }

}
